package cn.zaichi.edu.excelcommon.process;

/**
 * 进度详情
 */
public class ProcessEntity implements java.io.Serializable {
    //当前sheet
    private int sheet;
    //当前行下标
    private int row;
    //当前单元格下标
    private int cell;
    //提示
    private String message;
    //单元格的值
    private String cellValue;
    //整体进度
    private double allProcess;
    //当前sheet进度
    private double sheetProcess;
    //状态 200成功，其他失败
    private int state=200;


    public ProcessEntity(int sheet, int row, int cell, String message, String cellValue, double allProcess, double sheetProcess) {
        this.sheet = sheet;
        this.row = row;
        this.cell = cell;
        this.message = message;
        this.cellValue = cellValue;
        this.allProcess = allProcess;
        this.sheetProcess = sheetProcess;
    }

    public ProcessEntity(int sheet, int row, int cell, String message, String cellValue, double allProcess, double sheetProcess, int state) {
        this.sheet = sheet;
        this.row = row;
        this.cell = cell;
        this.message = message;
        this.cellValue = cellValue;
        this.allProcess = allProcess;
        this.sheetProcess = sheetProcess;
        this.state = state;
    }

    public int getState() {
        return state;
    }

    public void setState(int state) {
        this.state = state;
    }

    public double getAllProcess() {
        return allProcess;
    }

    public void setAllProcess(double allProcess) {
        this.allProcess = allProcess;
    }

    public double getSheetProcess() {
        return sheetProcess;
    }

    public void setSheetProcess(int sheetProcess) {
        this.sheetProcess = sheetProcess;
    }

    public int getSheet() {
        return sheet;
    }

    public void setSheet(int sheet) {
        this.sheet = sheet;
    }

    public int getRow() {
        return row;
    }

    public void setRow(int row) {
        this.row = row;
    }

    public int getCell() {
        return cell;
    }

    public void setCell(int cell) {
        this.cell = cell;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public String getCellValue() {
        return cellValue;
    }

    public void setCellValue(String cellValue) {
        this.cellValue = cellValue;
    }


}
